package vashion.azeroth.core.item.dao;

import java.util.List;

import vashion.azeroth.core.dao.BaseDao;
import vashion.azeroth.core.dao.DaoRepository;
import vashion.azeroth.core.item.pojo.ForestDO;

/**
 * Created by tingting on 15/9/1.
 * 类目dao
 */
@DaoRepository
public interface ForestDao extends BaseDao<ForestDO> {

    ForestDO findByTitle(String title);
    
    List<ForestDO> findParentsOrChildren(ForestDO forestDO);
}
